# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=git-flow
pkgver=1.12.3
pkgrel=0
pkgdesc="Git extension to provide a high-level branching model"
url="https://github.com/petervanderdoes/gitflow-avh"
arch="noarch"
license="LGPL-2.1-or-later"
depends="git"
options="!check" # has no tests
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/petervanderdoes/gitflow-avh/archive/$pkgver.tar.gz
	add-destdir-support.patch
	fix-busybox-readlink.patch"
builddir="$srcdir/gitflow-avh-$pkgver"

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="807cd36de7f5c9b4a7b28101de5ea8cfcbf528ff76578e4914c788b8098c7d3d91f8c19a3274e124ee7f7b4bdb6efdc5de2b74e09f374b71ae685beaa86e3e5a  git-flow-1.12.3.tar.gz
a8e7ebf54280cbc8cda7a43bfecf12a27122a99d214d9b8f59c68a1b2e78efeca7050631ff8c904c4dd9cde057598c299a1c69e4d210eb00be9b6aceaaca6246  add-destdir-support.patch
313f8b79903c96a0caf83239b0c3aea1f7eaa223e14019ed1df2179a581847d8a7c044a1dbb0947f69757f8865d3a12f11b982503570ea829a06d56a5e865b62  fix-busybox-readlink.patch"
